package com.webinsky.common.proj;

public enum Lang {
	jaJP("jaJP"), zhCN("zhCN"), enUS("enUS"), zhTW("zhTW"), ko("ko"), th("th");
	
	private String lang;
	
	private Lang(String lang){
		this.lang = lang;
	}
	
	public String getLang(){
		return lang;
	}
	
	public static Lang parse(String lang){
		for ( Lang l : Lang.values() ){
			if ( l.getLang().equals(lang) ){
				return l;
			}
		}
		return null;
	}
}
